package com.cabinet.web.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.cabinet.base.entity.IdEntity;


/**
 * 经营者信息
 * @author hqz
 *
 */

@Entity
@Table(name="ict_seller")
public class Seller extends IdEntity  implements Serializable{
	private static final long serialVersionUID = -6784438547869593458L;
	//经营者账号
	private String sAccount;
	//经营者密码
    private String sPwd;
    //经营者真实姓名
    private String sTrueName;
    //经营者身份证号
    private String sICard;
    //经营者电话
    private String sPhone;
    //经营者照片
    private String sPhoto;
    //经营者审核标识（通过1，未通过0）
    private int sMark;
    
    private String sEmail;
    //备注信息
    private String nr;
    
    
	public String getsAccount() {
		return sAccount;
	}
	public void setsAccount(String sAccount) {
		this.sAccount = sAccount;
	}
	public String getsPwd() {
		return sPwd;
	}
	public void setsPwd(String sPwd) {
		this.sPwd = sPwd;
	}
	public String getsTrueName() {
		return sTrueName;
	}
	public void setsTrueName(String sTrueName) {
		this.sTrueName = sTrueName;
	}
	public String getsICard() {
		return sICard;
	}
	public void setsICard(String sICard) {
		this.sICard = sICard;
	}
	public String getsPhone() {
		return sPhone;
	}
	public void setsPhone(String sPhone) {
		this.sPhone = sPhone;
	}
	public String getsPhoto() {
		return sPhoto;
	}
	public void setsPhoto(String sPhoto) {
		this.sPhoto = sPhoto;
	}
	public int getsMark() {
		return sMark;
	}
	public void setsMark(int sMark) {
		this.sMark = sMark;
	}
	public String getsEmail() {
		return sEmail;
	}
	public void setsEmail(String sEmail) {
		this.sEmail = sEmail;
	}
	public String getNr() {
		return nr;
	}
	public void setNr(String nr) {
		this.nr = nr;
	}
    
/*    @OneToMany(fetch=FetchType.LAZY)
    @JoinColumn(name="commodities_id",foreignKey=@ForeignKey(value=ConstraintMode.NO_CONSTRAINT))
    private Set<Commodities> commodities;
    
    @OneToMany(fetch=FetchType.LAZY)
    @JoinColumn(name="diauthority_id",foreignKey=@ForeignKey(value=ConstraintMode.NO_CONSTRAINT))
    private Set<Diauthority> diauthority;*/
    
    
	
}
